package ar.com.personalTravellers.daos;

import ar.com.personalTravellers.beans.internationalizer.LanguageInternationalizer;
import com.angel.arquitectura.model.internationalization.Language;
import com.angel.arquitectura.model.objectId.ObjectId;
import com.angel.resourceBundle.daos.internationalizer.InternationalizerDAO;

/**
 *
 * @author William
 */
public interface LanguageInternationalizerDAO extends InternationalizerDAO<LanguageInternationalizer, ObjectId> {

    /** Find a unique language internationalizer with a language bean.
     *
     * @param language to find its internationalizer bean.
     * @return a language internationlizer. It throws NotFoundUniqueObjectException when language internationalizer is not found.
     * @see com.angel.dao.generic.exceptions.NotFoundUniqueObjectException
     */
    public LanguageInternationalizer findUniqueByLanguage(Language language);
}